﻿using EYangFramework.Domain.Entitys.Entrys;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Domain.Entitys.ValueObjects
{
    [Table("EYANG_MENU")]
    public class Menu : ValueObject
    {
        //用于保存每个窗体的对应的菜单的权限关系
        [StringLength(200)]
        public virtual string FORMTYPE { get; set; }
        [StringLength(100)]
        public virtual string MENUNAME { get; set; }
        public virtual ICollection<User> USERS { get; set; }
        public virtual ICollection<Role> ROLES { get; set; }
    }
}
